<?php

namespace plugin\admin\app\controller;

use app\services\ConfigService;
use support\Response;

class CommonController
{
    public function clear(): Response
    {
        $info = [
            'System' => PHP_OS,
            'Version' => php_uname('s') . php_uname('r'),
            'PHP Version' => PHP_VERSION,
            'upload_max_filesize' => ini_get('upload_max_filesize'),
            'max_execution_time' => ini_get('max_execution_time')
        ];
        return view('common/clear', [
            'info' => $info
        ]);
    }


}